<template>
  <div class="wrap header">
    <!-- 左边模块 -->
    <h1 class="logobox">
      <img src="../assets/img/indexLogo.6f8ac4f0.png" alt="" />
    </h1>

    <!-- 中间导航栏 -->
    <ul class="navbox">
      <li class="current">首页</li>
      <li>全部商品</li>
      <li>个人中心</li>
      <li>我的订单</li>
      <li>专属福利</li>
    </ul>

    <!-- 右边搜索栏 -->
    <div class="searchbox">
      <input type="text" placeholder="输入关键字" />
      <span>
        <img src="../assets/img/search.png" alt="" />
      </span>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang='less' scoped>
.header {
  height: 118px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .navbox {
    display: flex;
    justify-content: space-between;
    li {
      margin-left: 20px;
      &.current {
        color: #0a328e;
        font-weight: 700;
      }
    }
  }
  .searchbox {
    display: flex;
    justify-content: space-between;
    input {
      width: 214px;
      height: 40px;
      border: 1px solid #dedede;
      border-radius: 20px 0px 0px 20px;
    }
    span {
      width: 50px;
      height: 40px;
      background: #0a328e;
      border-radius: 0px 20px 20px 0px;
      vertical-align: middle;
      text-align: center;
      line-height: 40px;
      img {
        width: 15px;
        height: 15px;
      }
    }
  }
}
</style>